deploy: Don't prune repo at finalization time by default
authorColin Walters <walters@verbum.org>
Mon, 30 Apr 2018 18:41:30 +0000 (14:41 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 1 May 2018 13:59:07 +0000 (13:59 +0000)
commit11c12cc19a2d9e75038b9ab7e57213fa63316abe
tree3785efb68616d02faa174fbb0013d42dd60e09cc
parent33d5b6f514c9fbe0b02764f8d999ed1531f23b51
deploy: Don't prune repo at finalization time by default

Doing so can break rpm-ostree, which wants to own the cleanup process
to ensure its baselayer refs are generated.

Further, doing the cleanup at shutdown time adds latency.  It's also
going to be generally unnecessary as we expect repo pruning to have
been done when writing the refs.

Closes: #1567
Approved by: jlebon
src/libostree/ostree-sysroot-deploy.c